<?php 
HeaderScripts::addScripts(array(
	'admin/login/form.js'
));
?>
<style>
html, body {
	padding: 0px;
	margin: 0px;
	height: 100%;
}
#loginForm {
	width: 350px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -150px;
	margin-left: -175px;
}

.x-toolbar {
	background-image: none !important;
}
.x-panel-tbar-noheader .x-toolbar, .x-panel-mc .x-panel-tbar .x-toolbar {
	border: 0px !important;
}
<?php if (!$flashMessage) { ?>
.x-panel-tbar {
	display: none !important;
}
<?php } ?>
.xtb-text {
	color: red !important;
	font-size: 15px !important;
}
</style>
<script type="text/javascript">
Ext.SSL_SECURE_URL  = "<?php echo Yii::app()->request->baseUrl; ?>/public/assets/extjs/resources/images/default/s.gif"; 
Ext.BLANK_IMAGE_URL = "<?php echo Yii::app()->request->baseUrl; ?>/public/assets/extjs/resources/images/default/s.gif";

options = {
	'loginUrl': '/admin/login/authenticate/',
	'captchaUrl': '/admin/login/captcha/',
	'cancelUrl': '/' 		
}
</script>
<div id="loginForm"></div>